import request from '@/utils/request'

export function getPage (data) {
  return request({
    url: '/mall4cloud_user/m/idCard/page',
    method: 'get',
    params: data
  })
}

export function getUserInfo (data) {
  return request({
    url: '/mall4cloud_user/m/idCard/getUserInfo',
    method: 'get',
    params: data
  })
}

export function deleteIdCard (data) {
  return request({
    url: '/mall4cloud_user/m/idCard/delete',
    method: 'post',
    data
  })
}
